package com.woniuxy.service;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entity.Building;
import com.woniuxy.entity.Housing;
import com.woniuxy.entity.Owner;
import com.woniuxy.util.PageData;

import java.util.List;

public interface BuildingService {
    List<Building> queryBuilding();

    PageInfo<Building> queryBuildingByNum(PageData<Building> pageData);

    void addBuild(Building building);

    void batchDelBuild(List<Integer> ids);

    Building selectBulidById(Integer id);

    void saveupdateBuild(Building building);

    void saveDelBuild(Integer id);
}
